package com.etc.cure.mapper;


import com.etc.cure.R.ROperation;
import com.etc.cure.entity.Doctor;
import com.etc.cure.entity.Operation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OperationMapper {

    int insert(Operation operation);

    List<ROperation> queryAllByDocId(String docId);

    int update(Operation operation);

    List<Operation> queryByOsId(String osId);

    List<Doctor> queryOpDoc();
}
